package com.tcwlkj.uuService.model;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/10/10 0010.
 * 通用应答
 */

public class CommonResponse<T> implements Serializable {
    private boolean Success;
    private int Status;
    private String Message;
    private String Total;
    private String Index;
    private String Size;
    private T Data;

    public String getTotal() {
        return Total;
    }

    public void setTotal(String total) {
        Total = total;
    }

    public String getIndex() {
        return Index;
    }

    public void setIndex(String index) {
        Index = index;
    }

    public String getSize() {
        return Size;
    }

    public void setSize(String size) {
        Size = size;
    }

    public boolean isSuccess() {
        return Success;
    }

    public void setSuccess(boolean success) {
        Success = success;
    }

    public int getStatus() {
        return Status;
    }

    public void setStatus(int status) {
        Status = status;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String message) {
        Message = message;
    }

    public T getData() {
        return Data;
    }

    public void setData(T data) {
        Data = data;
    }

    @Override
    public String toString() {
        return "CommonResponse{" +
                "Success=" + Success +
                ", Status=" + Status +
                ", Message='" + Message + '\'' +
                ", Total='" + Total + '\'' +
                ", Index='" + Index + '\'' +
                ", Size='" + Size + '\'' +
                ", Data=" + Data +
                '}';
    }
}
